home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
9-Digit Zip Code Directory
/
9-Digit Zip Code Directory (American Business Information) (ABIZIP-12).ISO
/
z4src.zip
/
BASE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-07-23
|
5KB
|
160 lines
#ifndef _BASE_H_
#define _BASE_H_
//----------------------------------------------------------------------------
// MODULE DESCRIPTION
//
// Module: base.h
// Title: Base library
// Notice: John M. Weeder
// Copyright (c) 1993. All rights reserved.
// This module contains proprietary information and should be
// treated as confidential.
//
//----------------------------------------------------------------------------
// MAINTENANCE HISTORY
//
// $Workfile$
// $Revision$
// $Author$
// $Date$
// $Log$
//
//----------------------------------------------------------------------------
// MODULE NARRATIVE
//
//
// This module is the primary header file which is included in all
// application modules. It includes all other header files as necessary.
//
// In order to efficiently use pre-compiled header files, programmers should
// attempt to keep the number and order of header files consistent.
//
// THIS HEADER FILE SHOULD ALWAYS BE INCLUDED FIRST IN ANY MODULE!!!
//
// The code in this module should be written entirely in C.
// Do not use any C++ constructs.
//
// This module is portable to:
// DOS 3.X+
// MS Windows 3.X+
// OS/2 2.X+
// OS/2 2.0 PM
// SCO UNIX.
//
// The following compilers are supported:
// MSC 6.0A
// MSC/C++ 7.0
// Borland C++ 3.1 for DOS
// Borland C++ 1.0 for OS/2 2.X
// SCO UNIX cc
//
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// Base library header files
//----------------------------------------------------------------------------
#include <bsdefn.h> // Definitions file
#include <bsos.h> // Expand standard directives
//----------------------------------------------------------------------------
// C header files
//----------------------------------------------------------------------------
#include <stdio.h> // Standard 'C' Headers.
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <ctype.h>
#include <stdarg.h>
#include <time.h>
#include <fcntl.h>
#include <errno.h>
#include <malloc.h>
#if OS_UNIX
#include <sys/locking.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <prototypes.h>
#pragma pack(1)
#else
#include <search.h>
#include <sys\locking.h>
#include <sys\stat.h>
#include <sys\types.h>
#endif
#if COMPILER_BORLAND || COMPILER_MSC
#include <io.h>
#include <share.h>
#include <process.h>
#include <conio.h>
#include <dos.h>
#include <direct.h> // Also include 'dir.h'
#if OS_DOS || OS_WINDOWS
#include <bios.h>
#endif
#endif
//----------------------------------------------------------------------------
// OS/2 header files.
//----------------------------------------------------------------------------
#if OS_OS2 || OS_PM // OS/2 2.X w/ Borland C++
# if OS_PM == 0
# define INCL_NOPMAPI // No presentation manager!
# endif
# define INCL_DOS
# include <os2.h>
#endif
//----------------------------------------------------------------------------
// Windows header files
// Not currently implemented!
//----------------------------------------------------------------------------
#if OS_WINDOWS // Windows 3.1+
#include <windows.h>
#include <commdlg.h>
#include <dde.h>
#include <print.h>
#endif
//----------------------------------------------------------------------------
// Miscellaneous base library header files
//----------------------------------------------------------------------------
#include <bsmacro.h> // Base macros
#include <bsport.h> // Portability stuff
#include <bsfn.h> // Function modifiers
#include <bstypes.h> // Data types
#include <limits.h>
//----------------------------------------------------------------------------
// Copyright string
//----------------------------------------------------------------------------
#include <bscprite.h>
//----------------------------------------------------------------------------
// Prototypes and miscellaneous
//----------------------------------------------------------------------------
#if COMPILE_CPP
extern "C"
{
#include <bsproto.h> // Base library function prototypes
}
#else
# include <bsproto.h> // Base library function prototypes
#endif
#include <bserror.h> // Error codes
#include <bskey.h> // DOS keyboard scan codes
//----------------------------------------------------------------------------
//------------------------------- End of File --------------------------------
//----------------------------------------------------------------------------
#endif // _BASE_H_